import { BASE_ACTION_1 } from './action';
const defaultState = {
  testP: 1,
};
export default (state, action) => {
  switch(action.type) {
    case BASE_ACTION_1:
      return ({
        ...state,
        testP: action.newVal,
      })
    default: {
      return { ...defaultState, ...state };
    }
  }
}